package com.yesido.moshi.seven.Segregation_geli;

/**
 * @author yesido
 * @description
 * @date 2023-06-11 23:50
 * @Version 8.3
 */
public class C {
    //C类通过Interface1，Interface3依赖(使用)D类，用到方法1,4,5
    public void depend1(Interface1 i) {
        i.operation1();
    }
    public void depend4(Interface3 i) {
        i.operation4();
    }
    public void depend5(Interface3 i) {
        i.operation5();
    }
}
